package com.dubbo.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
public class AppApplication {

	private static volatile boolean running = true;

	public static void main(String[] args) {

		SpringApplication.run("classpath:/META-INF/application-context.xml", args);

		synchronized (AppApplication.class) {
			while (running) {
				try {
					AppApplication.class.wait();
				} catch (Throwable e) {
				}
			}
		}
	}

}
